#include"virtualfunction.h"

void main(void) {
	Shape* a = new Cube(1, 5, 5);
	a->calVolume();
	a->display();

	Shape* b = new Cylinder(1, 9.5);
	b->calVolume();
	b->display();
	Shape* c = new Cone(8.6, 6);
	c->calVolume();
	c->display();
	Shape* d = new Sphere(5);
	d->calVolume();
	d->display();

}